MATPLOT
MATPLOT_R

Syntax: MATPLOT array [{, | ;}]
   and: MATPLOT_R array [{, | ;}]
Location: Math Package

MATPLOT takes a two-dimensional array and draws the points set out by the array (the first dimension identifies the number of points and the second the co-ordinates) to the default window used by LINE (normally #1). The array must be declared in the following way (an array which does not fall into this category will cause an error):   

DIM array (points,1) 

points is the total number of points (less one) set out in the array, with array(p,0) the x-coordinate and array(p,1) the y-coordinate of point number p-1.

If a comma (,) appears after the name of the array MATPLOT will connect each point with its successor by a line.  On the other hand, if a semicolon (;) appears after the name of the array, an additional line is drawn between the first point and the last point.

For those of you still uncertain of the possible uses of this command, a little hint: the addition of a semicolon to the the parameter will always enclose the set of lines which have been set out, thereby making this command ideal for creating all types of shapes (for example dodecahedrons)!

MATPLOT supports INK, PAPER, OVER and FILL.

MATPLOT_R is the same, except the lines are drawn relative to the graphics cursor (see LINE_R).

CROSS-REFERENCE:
POINT draws a single point to any screen, BLOCK can also be used to plot points, especially of variable size. 
PLOT, APOINT and POINT_ABS plot points in absolute co-ordinates, directly to screen memory, ignoring windows.
